package com.yuanchu.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.common.utils.PageUtils;
import com.yuanchu.goods.entity.YoshopGoodsCategoryRelEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品与分类关系记录表
 *
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 02:17:43
 */
public interface YoshopGoodsCategoryRelService extends IService<YoshopGoodsCategoryRelEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取商品分类id
     * @param goodsId 商品id
     * @return
     */
    List<Integer> getGoodsCategoryIds(Integer goodsId);


}

